package com.cuijq.ms.picture.impl;

import com.cuijq.ms.picture.IPictureStorage;
import com.cuijq.ms.picture.Picture;
import com.cuijq.ms.picture.PictureMetaInfo;

import java.awt.*;

public class PictureStorage implements IPictureStorage {
    // ...省略其他属性...

    @Override
    public void savePicture(Picture picture) {
        //...
    }

    @Override
    public Image getPicture(String pictureId) {
        //...
        return null;
    }

    @Override
    public void deletePicture(String pictureId) {
        //...
    }

    @Override
    public void modifyMetaInfo(String pictureId, PictureMetaInfo metaInfo) {
        //  ...
    }
}
